import request from '@/utils/request'

export function getActivateList(query) {
  return request({
    url: '/activate/list',
    method: 'get',
    params: query
  })
}
export function getActivateLog(query) {
  return request({
    url: '/activate/log',
    method: 'get',
    params: query
  })
}

export function createActivate(query) {
  return request({
    url: '/activate/create',
    method: 'get',
    params: query
  })
}

export function abolishActivate(data) {
  return request({
    url: '/activate/abolish',
    method: 'post',
    data
  })
}
export function sevenDays(query) {
  return request({
    url: '/activate/log-seven-days',
    method: 'get',
    params: query
  })
}
export function eqsevenDays(query) {
  return request({
    url: '/activate/eq-seven-days',
    method: 'get',
    params: query
  })
}
